import api from "./index";

// 地址数据请求接口
export default {
  // 推广中心
  getPopularizeCenter: () => api.get("/applet/royalty/getStatistics"),
  // 推广中心-分销提成记录
  getRoyaltyRecord: (params) => api.get("/applet/royalty/getRoyaltyRecordPage", params),
  // 推广中心-提现明细
  getStatistics: () => api.get("/applet/record/statistics"),
  // 推广中心-提现记录
  getStatisticsList: (params) => api.get("/applet/record/list", params),
  // 推广中心-我的团队
  getMineGroup: () => api.get("/applet/royalty/mineGroup"),
  // 推广中心-其他团队
  getElseGroup: (params) => api.get("/applet/royalty/elseGroup", params),
  // 我的余额
  getMyBalance: () => api.get("/applet/mine/topStatistics"),
  // 余额-收入明细
  getIncomeList: () => api.get("/applet/mine/appletIncomeList"),
  getSystemExpenditurePage: () => api.get("/system/change/expenditurePage"),
  // 余额-支出明细
  getExpensesList: () => api.get("/applet/mine/appletExpensesList"),
  getExpenditurePage: () => api.get("/applet/change/expenditurePage"),
  // 云库存列表
  getCloudList: () => api.get("/applet/cloudInventory/listByUser"),
  // 云库存明细
  getCloudDetail: (params) => api.get("/applet/cloudInventory/listByCloudInventoryId", params),
  // 云库存-补货查看商品详情
  getCommodityDetails: (params) => api.get("/applet/cloudInventory/getCommodityDetails", params),
  // 云库存-补货
  cloudPurchase: (params) => api.post("/applet/cloudInventory/cloudInventoryPurchase", params),
  // 云库存-提货到线下
  cloudInventoryPickup: (params) => api.post("/applet/cloudInventory/cloudInventoryPickup", params),
  // 积分明细
  getIntegralDetail: () => api.get("/applet/change/listPage"),
  // 隐私协议
  getAgreements: () => api.get("/applet/agreements/list"),
  
  

   //获取轮播图列表
   getBannerList:()=>api.get("/applet/banner/list") ,
   //获取体检类型列表
   getExameTypeList:()=> api.get("/applet/type/getMedicalExamTypeAll"),
   //获取套餐列表
   getPackagesList:(isHot)=>api.get('/applet/meal/list',isHot),
   //获取医院介绍
   gethosDyction:()=>api.get('/applet/info/list'),
   //获取开放预约日列表
   getOpenDayList:(params) => api.get('/applet/days/getHospitalSubscribeScheduleDaysList',params),
   //邢增体检人信息
   addExameInfo: (params)  => api.post('/applet/examiner/info',params),
   //获取体检人信息
   getExameInfo:(params)  => api.get('/applet/examiner/info/list',params),
   //修改体检人信息
   setExameInfo:(params)  => api.put('/applet/examiner/info',params),
   //获取用户消息列表
   getUserMessageList: (params) =>api.get('/applet/message/list',params),
   //获取内容列表
   getContentList:(params)=>api.get('/applet/content/list',params),
   
   
   
};
